package ar.com.ctrln.persistence.dao.insumo;

import java.util.List;

import org.springframework.transaction.annotation.Transactional;

import ar.com.ctrln.persistence.dao.AbstractDao;
import ar.com.ctrln.persistence.model.insumo.Insumo;

public interface InsumoDao extends AbstractDao<Insumo> {
	

	@Transactional(readOnly=true)
	Insumo findInsumoById(long id);
	
	@Transactional(readOnly=true)
	List<Insumo> insumosByTipo (String tipo);
		
}
